package br.ufpb.sistcomp.entity;

/**
 * Teacher entity class
 * 
 * @author Renan Oliveira, www.renanoliveira.com
 * @version 1.0
 * @since 30/11/2011
 * 
 * Copyright (C) 2012 SistComp Empresa Jr.
 */

public class Teacher{
	private int id;
	private String name;
	private String mail;
	private String phone;
	private String cell;

	public Teacher(){}
	
	public Teacher(String name, String mail, String phone, String cell) {

		this.name = name;
		this.mail = mail;
		this.phone = phone;
		this.cell = cell;

	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCell() {
		return cell;
	}

	public void setCell(String cell) {
		this.cell = cell;
	}

	/*
	 * toString() will be in Portuguese as the preferred language of the
	 * application
	 */

	@Override
	public String toString() {
		return "Nome do Professor:" + name + ", email:" + mail + ", telefone:"
				+ phone + ", celular:" + cell;
	}
}